package org.kazuhiko.rpg.client.net.packet.handler.handlers;

import org.kazuhiko.rpg.client.net.RPGSession;
import org.kazuhiko.rpg.client.net.packet.Packet;
import org.kazuhiko.rpg.client.net.packet.handler.PacketHandler;

public class UpdateEntityPacketHandler implements PacketHandler<RPGSession>
{
	@Override
	public void handlePacket(RPGSession session, Packet packet)
	{
		final int id = packet.getNumericField( "id" ).intValue();
		final String username = packet.getStringField( "name" );
		final float x = packet.getNumericField( "delta_x" ).floatValue();
		final float y = packet.getNumericField( "delta_y" ).floatValue();
		final float z = packet.getNumericField( "delta_z" ).floatValue();
		final float p = packet.getNumericField( "delta_pitch" ).floatValue();
		final float ya = packet.getNumericField( "delta_yaw" ).floatValue();
		final float r = packet.getNumericField( "delta_roll" ).floatValue();
	}

}
